package com.ruoyi.system.service;

import com.baomidou.mybatisplus.extension.service.IService;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.ruoyi.system.domain.PwsTable;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * pws 服务类
 * </p>
 *
 * @author tianfu-li
 * @since 2025-44-27
 */
public interface PwsTableService extends IService<PwsTable> {
    List<PwsTable> getPwsTableByOrderNoOrOrderStartDate(String orderNo, LocalDateTime orderStartDate);
    boolean getPwoBySap(Date date, String userId) throws JsonProcessingException;
    List<PwsTable>selectByPrimaryKeyFromOrderNo(String orderNo, LocalDate orderStartDate, String orderType);
    PwsTable getPwsTableByOrderNo(String orderNo);
}
